package com.ruoyi.decision.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 方案库分类对象 s_plm_rts_template_plan_classification
 * 
 * @author zbw
 * @date 2022-07-20
 */
public class PlanClassification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预案库分类ID */
    private String templateTypeId;

    /** 预案库分类名称 */
    @Excel(name = "预案库分类名称")
    private String templateTypeName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 上级分类 */
    @Excel(name = "上级分类")
    private String fatherId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer rank;

    public void setTemplateTypeId(String templateTypeId) 
    {
        this.templateTypeId = templateTypeId;
    }

    public String getTemplateTypeId() 
    {
        return templateTypeId;
    }
    public void setTemplateTypeName(String templateTypeName) 
    {
        this.templateTypeName = templateTypeName;
    }

    public String getTemplateTypeName() 
    {
        return templateTypeName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setFatherId(String fatherId) 
    {
        this.fatherId = fatherId;
    }

    public String getFatherId() 
    {
        return fatherId;
    }
    public void setRank(Integer rank) 
    {
        this.rank = rank;
    }

    public Integer getRank() 
    {
        return rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateTypeId", getTemplateTypeId())
            .append("templateTypeName", getTemplateTypeName())
            .append("description", getDescription())
            .append("fatherId", getFatherId())
            .append("rank", getRank())
            .toString();
    }
}
